package com.ruicar.afs.cloud.account.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.account.common.entity.VoucherEntry;
import com.ruicar.afs.cloud.account.vo.VoucherEntryVo;

import java.util.List;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/6/18 14:54
 */
public interface VoucherEntryService extends IService<VoucherEntry> {
    VoucherEntryVo  checkAndSave(VoucherEntryVo voucherEntryVo);
    VoucherEntry checkAndUpdate(VoucherEntryVo voucherEntryVo);
    List<VoucherEntryVo> list(Long correlationId);
    Boolean deleteById(Long id);
}
